package com.zy.scworder.service;

import com.zy.scwcommon.bean.AppResponse;
import com.zy.scworder.service.exp.handler.TProjectServiceFeignExceptionHandler;
import com.zy.scworder.vo.resp.TReturn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value="SCW-PROJECT",fallback= TProjectServiceFeignExceptionHandler.class)
public interface TProjectServiceFeign {
	
	@GetMapping("/project/details/returns/info/{returnId}")
	public AppResponse<TReturn> returnInfo(@PathVariable("returnId") Integer returnId);
	
}
